package com.atguigu.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2021/5/3 14:58
 */
@Configuration
public class FeignConfig {
    //输出打印feign的日志
    @Bean
    Logger.Level feignLoggerLevel(){
        //返回日志级别全部 一共4种日志级别
        return Logger.Level.FULL;
    }
}




